package com.gwnet.cabinet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gwnet.cabinet.domian.Cabinet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 外卖柜表 Mapper 接口
 * </p>
 *
 * @author WangLiang
 * @since 2024-07-23
 */
@Mapper
public interface CabinetMapper extends BaseMapper<Cabinet> {

    /**
     * 重新统计外卖柜状态
     * @param devSn
     * @return
     */
    int reStatisticsBox(@Param("devSn") String devSn);

}
